FROM openjdk:19-jdk-alpine

# Set working directory and copy application JAR
WORKDIR /app
COPY ./target/HivisionIDPhotos-wechat-weapp-1.0-SNAPSHOT.jar /app

# Expose port
EXPOSE 8010

# CMD and ENTRYPOINT
#CMD ["java", "-jar", "HivisionIDPhotos-wechat-weapp-1.0-SNAPSHOT.jar"]
ENTRYPOINT ["java", "-jar", "HivisionIDPhotos-wechat-weapp-1.0-SNAPSHOT.jar"]
